Replaces the item at the specified index by the specified item.
シンタックス
'宣言
Public Overloads Shared Function ReplaceAsync(Of As Class)( _
ByVal As IDataCollection(Of T), _
ByVal As System.Integer, _
ByVal As , _
Optional ByVal As System.Threading.CancellationToken _
) As System.Threading.Tasks.Task(Of Integer)
public static System.Threading.Tasks.Task<int> ReplaceAsync<>(
IDataCollection<T> ,
System.int ,
,
System.Threading.CancellationToken
)
where T: class
パラメータ
- dataCollection
- The data collection.
- index
- The index.
- item
- The item.
- cancellationToken
- The cancellation token.
型パラメータ
- T
参照